#include <cstdio>
#include <algorithm>
using namespace std;
const int N=2005;
typedef long long ll;
int c[N][N];
ll p[N];
int a[N][N];
int arr[N];
void init(){
    p[0]=1;
    for(ll i=1;i<100;i++){
        //printf("%lld %d\n",p[i-1],i);
        p[i]=p[i-1]*i;
        printf("%lld\n",p[i]);
    }
}
int main(void){
    int n,m;
    init();
    printf("%lld\n",p[100]);
    while(~scanf("%d%d",&n,&m)){
        
    }
    return 0;
}